<?php

namespace App\Console\Commands;

use App\Console\AdminPermissionDataInitCommand;
use App\Models\Permission;

class AdminInitPermissions extends AdminPermissionDataInitCommand
{
    protected $relatedTables = [
        'model_has_permissions',
    ];

    protected $signature = 'admin:permissions {--f|force}';

    protected $description = '初始化后台权限设置';

    protected $dataFilePath = __DIR__.'/./data/permissions.php';

    protected $model = Permission::class;
}
